
/**
 *  
 */

var inquiry = {
	download: function() {
		if (this.download_window) {
			this.download_window.restore();
		} else {
			this.download_window = new layout.SNAppWindow({
				title: "Download",
				taskbarAnchor: 'download_anchor',
				taskbarAnchorMin: 'download_anchor_min',		
				taskbarAnchorFocus: 'download_anchor_focus',
				onClose: function() {
					delete this.download_window;
				}.bind(this)
			});	
			this.download_window.create();
			this.download_window.getContentElement().load('content/public/inquire/download.html');
		}
	},
	
	help: function() {
		if (this.help_window) {
			this.help_window.restore();
		} else {
			this.help_window = new layout.SNAppWindow({
				title: "Help",
				width:'600px',
				height:'400px',
				taskbarAnchor: 'help_anchor',
				taskbarAnchorMin: 'help_anchor_min',		
				taskbarAnchorFocus: 'help_anchor_focus',
				onClose: function() {
					delete this.help_window;
				}.bind(this)
			});	
			this.help_window.create();
			this.help_window.getContentElement().load('content/public/inquire/help.html');
		}
	}		
};
